package db;

import java.sql.ResultSet;
import java.sql.SQLException;

public class RofLandingPointRef {
	private int fileID;
	private int objID;
	private String name;
	private double XLP;
	private double ZLP;
	private double OriLP;
	private double XLPbak;
	private double ZLPbak;
	private double OriLPbak;
	
	public RofLandingPointRef (ResultSet results) throws SQLException {
		name=results.getString("name");
		objID=results.getInt("indexInFile");
		fileID=results.getInt("fileID");
		XLP=results.getDouble("XLP");
		ZLP=results.getDouble("ZLP");
		OriLP=results.getDouble("OriLP");
		XLPbak=results.getDouble("XLPbak");
		ZLPbak=results.getDouble("ZLPbak");
		OriLPbak=results.getDouble("OriLPbak");
	}
	
	public int getFileID() {
		return fileID;
	}
	public void setFileID(int fileID) {
		this.fileID = fileID;
	}
	public int getObjID() {
		return objID;
	}
	public void setObjID(int objID) {
		this.objID = objID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getXLP() {
		return XLP;
	}
	public void setXLP(double xLP) {
		XLP = xLP;
	}
	public double getZLP() {
		return ZLP;
	}
	public void setZLP(double zLP) {
		ZLP = zLP;
	}
	public double getOriLP() {
		return OriLP;
	}
	public void setOriLP(double oriLP) {
		OriLP = oriLP;
	}

	public double getXLPbak() {
		return XLPbak;
	}

	public void setXLPbak(double xLPbak) {
		XLPbak = xLPbak;
	}

	public double getZLPbak() {
		return ZLPbak;
	}

	public void setZLPbak(double zLPbak) {
		ZLPbak = zLPbak;
	}

	public double getOriLPbak() {
		return OriLPbak;
	}

	public void setOriLPbak(double oriLPbak) {
		OriLPbak = oriLPbak;
	}
	
}
